﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        public static void Main(string[] args)
        {
            Dictionary<int, NPC> list = new Dictionary<int, NPC>();
            Random ran = new Random();
            Console.WriteLine("----------欢 迎 进 入 游 戏 世 界----------");
            Console.WriteLine();
            Console.WriteLine("----------------猜 拳 开 始----------------");
            Console.WriteLine("出拳规则：1.剪刀  2.石头  3.布");
            NPC n1 = new NPC("刘备");
            NPC n2 = new NPC("孙权");
            NPC n3 = new NPC("曹操");
            list.Add(1,n1);
            list.Add(2,n2);
            list.Add(3,n3);
            Console.WriteLine("请选择对方角色：1.刘备  2.孙权  3.曹操");
            int a = int.Parse(Console.ReadLine());
            Console.WriteLine("请输入你的姓名：");
            Player p = new Player(Console.ReadLine());
            Console.WriteLine(p.Name + " VS " + list[a].Name);
            Referee R = new Referee();
            R.begin(p.Name, list[a].Name) ;
        }
    }
}
